﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebSystem
{
    public partial class MCla : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        //protected void Page_PreInit(object sender, EventArgs e)
        //{

            //if (Session["color"] == "1")
            //{
            //    Page.Theme = "1";

            //}
            //else if (Session["color"] == "2")
            //{
            //    Page.Theme = "2";
            //}
            //else
            //{
            //    Page.Theme = "3";
            //}
            protected void Page_PreInit(object sender, EventArgs e)
        {
            if (Session["Theme"] == "1")
            {
                Page.Theme = "1";
            }
            else if (Session["Theme"] == "3")
            {
                Page.Theme = "3";
            }

            else
            {
                Page.Theme = "2";
            }
        }
        
       

     

        protected void Button7_Click(object sender, EventArgs e)
        {
            Response.Redirect("MClaAdd.aspx");
        }

        protected void Button8_Click(object sender, EventArgs e)
        {
            Response.Redirect("MClaDel.aspx");
        }

        protected void Button9_Click(object sender, EventArgs e)
        {
            Response.Redirect("MClaUpd.aspx");
        }
    }
}